package com.zby.charity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.models.auth.In;
import lombok.Data;

/**
 * @author zby
 * @email 2069189112@qq.com
 * @date 2025-01-16 18:25:18
 */
@Data
@TableName("comments")
public class CommentsEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     *
     */
    private Integer uid;
    /**
     *
     */
    private Integer pid;
    /**
     *
     */
    private String content;
    /**
     *
     */

    @TableField("reply_id")
    private Integer replyId;
    @TableField("create_at")
    private Date createAt;

    @TableField("parent_id")
    private Integer parentId;
    @TableField(exist = false)
    private String replyname;
}
